package com.v5ba.server.controller;

import com.v5ba.server.service.ISysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 用户相关
 *
 * @author yiren
 */
@Controller
@RequestMapping("sys/log")
public class SysLogAboutController {


    @Autowired
    private ISysLogService sysLogService;

    @RequestMapping("add")
    @ResponseBody
    public String register() {
        sysLogService.add("新增用户", "新增用户");
        return "ok";
    }


}